package com.wangjie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Data;

@TableName(value = "appointment")
@Data
public class Appointment implements Serializable {
    private static final long serialVersionUID = 3474673288134158443L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "username")
    private String username;

    @TableField(value = "id_card")
    private String idCard;

    @TableField(value = "department")
    private String department;

    @TableField(value = "date")
    private String date;

    @TableField(value = "time")
    private String time;

    @TableField(value = "doctor_name")
    private String doctorName;
}
